-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server: add /debug/zip
api to get useful debuginfo at once
#9651
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9651 +/- ##
================================================
- Coverage 67.2409% 67.1757% -0.0652%
================================================
Files 381 381
Lines 79874 79944 +70
================================================
- Hits 53708 53703 -5
- Misses 21381 21451 +70
- Partials 4785 4790 +5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Please add it to the doc file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PTAL @tiancaiamao |
LGTM |
/run-all-tests |
What problem does this PR solve?
when we do troubleshooting often need multiple round-trips to get info from our custom.
to save time we need the ability to get more info at once, just curl or access
http://0.0.0.0:10080/debug/zip
What is changed and how it works?
get go pprof info in one file and maybe we can add more info in future, now after unzip we will got:
Check List
Tests
can be curl and unzip and be
go pprof
orcat
without errorCode changes
Side effects
Related changes
This change is